package o;

import android.content.Context;
import com.huawei.appgallery.foundation.service.common.protocol.AppDetailActivityProtocol;
import com.huawei.appgallery.foundation.service.common.protocol.AppDetailActivityProtocol.Request;

public class eel implements cue<cuk> {
    public /* synthetic */ void ˋ(Context context, Object obj) {
        ॱ(context, (cuk) obj);
    }

    public static void ॱ(Context context) {
        try {
            Object systemService = context.getSystemService("statusbar");
            systemService.getClass().getMethod("collapsePanels", new Class[0]).invoke(systemService, new Object[0]);
        } catch (Throwable e) {
            Logger.ˋ("AppDetailHandler", "collapse statusbar failed", e);
        } catch (Throwable e2) {
            Logger.ˋ("AppDetailHandler", "collapse statusbar failed", e2);
        } catch (Throwable e22) {
            Logger.ˋ("AppDetailHandler", "collapse statusbar failed", e22);
        } catch (Throwable e222) {
            Logger.ˋ("AppDetailHandler", "collapse statusbar failed", e222);
        }
    }

    public void ॱ(Context context, cuk o_cuk) {
        Logger.ˎ("AppDetailHandler", "AppDetailHandler execute");
        cjo appDetailActivityProtocol = new AppDetailActivityProtocol();
        Request request = new Request();
        String ʼ = dof.ʼ(o_cuk.ᐝ());
        if (!dof.ˋ(o_cuk.ʽॱ())) {
            request.ˋ(o_cuk.ʽॱ() + "__" + ʼ);
            appDetailActivityProtocol.ˏ(request);
            cjm o_cjm = new cjm("appdetail.activity", appDetailActivityProtocol);
            o_cjm.ॱ(context).setFlags(335544320);
            o_cjm.ॱ(context).putExtra("activity_open_from_notification_flag", true);
            cjk.ˎ().ˋ(context, o_cjm);
        }
    }
}
